package com.example.enterprisemanager.mvvm.fragment.manager.ben;

import java.util.List;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.datatype.BmobFile;

public class EnrollGoods extends BmobObject {
    private String name;              //物品名称
    private String company;           //所属公司
    private BmobFile avatar;          //物品图像描述
    private Integer price;            //单价
    private String type;              //资产类型
    private String storageName;      //入库仓库

    private List<String> goodsIds;     //登记的id

    private String username;     //登记操作员姓名

    private Integer enrollNum;       //登记数量
    private Integer number;      //可分配数量
    private Integer haveAllocateNum;   //已分配数量

    public EnrollGoods() {
    }

    public EnrollGoods(String name, String company, BmobFile avatar, Integer price, String type, String storageName, List<String> goodsIds, String username, Integer enrollNum, Integer number, Integer haveAllocateNum) {
        this.name = name;
        this.company = company;
        this.avatar = avatar;
        this.price = price;
        this.number = number;
        this.type = type;
        this.storageName = storageName;
        this.enrollNum = enrollNum;
        this.goodsIds = goodsIds;
        this.username = username;
        this.haveAllocateNum = haveAllocateNum;
    }

    public Integer getHaveAllocateNum() {
        return haveAllocateNum;
    }

    public void setHaveAllocateNum(Integer haveAllocateNum) {
        this.haveAllocateNum = haveAllocateNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public BmobFile getAvatar() {
        return avatar;
    }

    public void setAvatar(BmobFile avatar) {
        this.avatar = avatar;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStorageName() {
        return storageName;
    }

    public void setStorageName(String storageName) {
        this.storageName = storageName;
    }

    public Integer getEnrollNum() {
        return enrollNum;
    }

    public void setEnrollNum(Integer enrollNum) {
        this.enrollNum = enrollNum;
    }

    public List<String> getGoodsIds() {
        return goodsIds;
    }

    public void setGoodsIds(List<String> goodsIds) {
        this.goodsIds = goodsIds;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
